package com.xd.server.apply.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xd.server.apply.dto.ApplyDTO;
import com.xd.server.apply.po.ApplyPO;
import com.xd.server.apply.vo.ApplyVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 申请表(Apply)表数据库访问层
 *
 * @author XD
 * @since 2021-07-10 13:28:47
 */
@Mapper
public interface IApplyMapper extends BaseMapper<ApplyPO> {

    /**
     * 分页查询
     *
     * @param apply 实例对象
     * @return
     */
    List<ApplyVO> findAll(Page<ApplyVO> page, @Param("params") ApplyDTO apply);


}

